//
//  SettingTableViewCell.m
//  Project_A
//
//  Created by 房磊 on 15/1/19.
//  Copyright (c) 2015年 Flowers. All rights reserved.
//

#import "SettingTableViewCell.h"

@implementation SettingTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createAllViews];
    }
    return self;
}
- (void)createAllViews
{
    self.buttonSwitch = [UIButton buttonWithType:UIButtonTypeCustom];
    _buttonSwitch.frame = CGRectMake(250, 5, 50, 30);
    _buttonSwitch.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:_buttonSwitch ];
    [_buttonSwitch release];
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
